import request from '@/utils/request';

/**
 * POST 添加数据字典信息
 * @pathParam apiVersion true
 * @bodyParam param true
 */
export function addDictionaryUsingPOST({ params, data }) {
  return request('sys/dictionary', {
    method: 'POST',
    params,
    data,
  });
}

/**
 * PUT 编辑数据字典信息
 * @pathParam apiVersion true
 * @bodyParam param true
 */
export function updateDictionaryUsingPUT({ params, data }) {
  return request('sys/dictionary', {
    method: 'PUT',
    params,
    data,
  });
}

/**
 * GET 分页查询数据字典
 * @pathParam apiVersion true
 * @queryParam current true
 * @queryParam dictName false
 * @queryParam pageSize true
 * @queryParam typeCode false
 */
export function getDictionaryPageUsingGET({ params, data }) {
  return request('sys/dictionary/dictionaryPage', {
    method: 'GET',
    params,
    data,
  });
}

/**
 * PUT 启用禁用数据字典信息
 * @pathParam apiVersion true
 * @bodyParam param true
 */
export function enableDictionaryUsingPUT({ params, data }) {
  return request('sys/dictionary/enable', {
    method: 'PUT',
    params,
    data,
  });
}

/**
 * GET 数据字典父级下拉框（新增修改使用）
 * @pathParam apiVersion true
 */
export function getDictionaryListUsingGET({ params, data }) {
  return request('sys/dictionary/list', {
    method: 'GET',
    params,
    data,
  });
}

/**
 * GET 根据字典类型code显示不同的下拉框数据
 * @pathParam apiVersion true
 * @queryParam typeCode false
 */
export function getDictionaryByTypeCodeUsingGET({ params, data }) {
  return request('sys/dictionary/typeCode', {
    method: 'GET',
    params,
    data,
  });
}

/**
 * GET 分页查询字典类型
 * @pathParam apiVersion true
 * @queryParam current true
 * @queryParam pageSize true
 * @queryParam typeName false
 */
export function getDictionaryTypePageUsingGET({ params, data }) {
  return request('sys/dictionaryType', {
    method: 'GET',
    params,
    data,
  });
}

/**
 * POST 添加字典类型
 * @pathParam apiVersion true
 * @bodyParam param true
 */
export function createDictionaryTypeUsingPOST({ params, data }) {
  return request('sys/dictionaryType', {
    method: 'POST',
    params,
    data,
  });
}

/**
 * PUT 编辑字典类型
 * @pathParam apiVersion true
 * @bodyParam param true
 */
export function updateDictionaryTypeUsingPUT({ params, data }) {
  return request('sys/dictionaryType', {
    method: 'PUT',
    params,
    data,
  });
}

/**
 * GET 字典类型下拉框
 * @pathParam apiVersion true
 */
export function getDictionaryTypeListUsingGET({ params, data }) {
  return request('sys/dictionaryType/list', {
    method: 'GET',
    params,
    data,
  });
}

/**
 * POST 添加日志信息(测试用)
 * @pathParam apiVersion true
 * @bodyParam bo true
 */
export function addLogUsingPOST({ params, data }) {
  return request('sys/log', {
    method: 'POST',
    params,
    data,
  });
}

/**
 * GET 分页查询操作日志
 * @pathParam apiVersion true
 * @queryParam current true
 * @queryParam event false
 * @queryParam pageSize true
 * @queryParam source false
 * @queryParam title false
 * @queryParam type false
 */
export function getLogPageUsingGET({ params, data }) {
  return request('sys/log/logPage', {
    method: 'GET',
    params,
    data,
  });
}

/**
 * PUT 编辑监控指标标准
 * @pathParam apiVersion true
 * @bodyParam param true
 */
export function updateMonitorConfigDetailUsingPUT({ params, data }) {
  return request('sys/monitorConfigDetail', {
    method: 'PUT',
    params,
    data,
  });
}

/**
 * GET 根据监控详情id和组织机构id,查询监控标准详情
 * @pathParam apiVersion true
 * @queryParam d1MonitorDetailId true
 * @queryParam d2MonitorDetailId true
 * @queryParam d3MonitorDetailId true
 * @queryParam orgId true
 */
export function getMonitorConfigDetailUsingGET({ params, data }) {
  return request('sys/monitorConfigDetail/detail', {
    method: 'GET',
    params,
    data,
  });
}

/**
 * GET 根据组织机构id,查询监控标准信息
 * @pathParam apiVersion true
 * @queryParam orgId true
 */
export function getMonitorConfigDetailListUsingGET({ params, data }) {
  return request('sys/monitorConfigDetail/detailList', {
    method: 'GET',
    params,
    data,
  });
}

/**
 * GET 查询操作指引
 * @pathParam apiVersion true
 * @queryParam current true
 * @queryParam pageSize true
 */
export function getOperGuideListUsingGET({ params, data }) {
  return request('sys/operGuide', {
    method: 'GET',
    params,
    data,
  });
}

/**
 * DELETE 删除操作指引
 * @pathParam apiVersion true
 * @queryParam id true
 */
export function deleteOperGuideUsingDELETE({ params, data }) {
  return request('sys/operGuide', {
    method: 'DELETE',
    params,
    data,
  });
}

/**
 * POST 保存上传操作指引
 * @pathParam apiVersion true
 * @bodyParam param true
 */
export function createOperGuideUsingPOST({ params, data }) {
  return request('sys/operGuide/add', {
    method: 'POST',
    params,
    data,
  });
}

/**
 * PUT 编辑上传操作指引
 * @pathParam apiVersion true
 * @bodyParam param true
 */
export function updateOperGuideUsingPUT({ params, data }) {
  return request('sys/operGuide/update', {
    method: 'PUT',
    params,
    data,
  });
}

/**
 * POST 上传操作指引
 * @pathParam apiVersion true
 * @formDataParam file true
 */
export function fileUploadUsingPOST_2({ params, data }) {
  return request('sys/operGuide/upload', {
    method: 'POST',
    params,
    data,
  });
}

/**
 * POST 同步组织机构(IDM数据前端勿动)
 * @pathParam apiVersion true
 * @queryParam filter false
 */
export function createOrgUsingPOST({ params, data }) {
  return request('sys/org', {
    method: 'POST',
    params,
    data,
  });
}

/**
 * GET 显示城市公司(下拉框)
 * @pathParam apiVersion true
 * @queryParam regionId false
 */
export function getCityListUsingGET({ params, data }) {
  return request('sys/org/city', {
    method: 'GET',
    params,
    data,
  });
}

/**
 * GET 总线-IDM-006-IDM-组织查询Rest接口(IDM数据前端勿动)
 * @pathParam apiVersion true
 * @queryParam filter false
 */
export function getOrgListUsingGET_1({ params, data }) {
  return request('sys/org/orgList', {
    method: 'GET',
    params,
    data,
  });
}

/**
 * GET 显示项目(下拉框)
 * @pathParam apiVersion true
 * @queryParam regionId false
 */
export function getProjectUsingGET({ params, data }) {
  return request('sys/org/project', {
    method: 'GET',
    params,
    data,
  });
}

/**
 * POST 拉取主数据(mdm新表)项目到本地项目分期表(前端勿动)
 * @pathParam apiVersion true
 */
export function creatByStagesV2UsingPOST({ params, data }) {
  return request('sys/org/projectOrgsV2', {
    method: 'POST',
    params,
    data,
  });
}

/**
 * GET 显示区域(下拉框)
 * @pathParam apiVersion true
 */
export function getRegionUsingGET({ params, data }) {
  return request('sys/org/region', {
    method: 'GET',
    params,
    data,
  });
}

/**
 * GET 显示分期(下拉框)
 * @pathParam apiVersion true
 * @queryParam projectId false
 */
export function getStagesUsingGET({ params, data }) {
  return request('sys/org/stages', {
    method: 'GET',
    params,
    data,
  });
}

/**
 * GET 带权限项目分期V1版本
 * @pathParam apiVersion true
 */
export function getStagessV1UsingGET({ params, data }) {
  return request('sys/org/stagesV1', {
    method: 'GET',
    params,
    data,
  });
}

/**
 * POST 增量同步组织机构(前端勿动)
 * @pathParam apiVersion true
 */
export function createSyncOrgUsingPOST({ params, data }) {
  return request('sys/org/syncOrg', {
    method: 'POST',
    params,
    data,
  });
}

/**
 * GET 组织机构树形菜单
 * @pathParam apiVersion true
 */
export function getOrgTreeListUsingGET({ params, data }) {
  return request('sys/org/treeList', {
    method: 'GET',
    params,
    data,
  });
}

/**
 * GET 根据岗位名称查询岗位下的用户
 * @pathParam apiVersion true
 * @queryParam jobName false
 */
export function getUserByJobNameUsingGET({ params, data }) {
  return request('sys/position/jobName', {
    method: 'GET',
    params,
    data,
  });
}

/**
 * GET 分页查询组织机构下的--岗位信息
 * @pathParam apiVersion true
 * @queryParam belongDepId false
 * @queryParam current true
 * @queryParam jobName false
 * @queryParam pageSize true
 */
export function getOrgPositionPageUsingGET({ params, data }) {
  return request('sys/position/orgPositionPage', {
    method: 'GET',
    params,
    data,
  });
}

/**
 * GET 总线-IDM-009-IDM-岗位查询Rest接口(前端勿动)
 * @pathParam apiVersion true
 * @queryParam cookie false
 * @queryParam timestamp false
 */
export function getPositionListUsingGET({ params, data }) {
  return request('sys/position/positionPage', {
    method: 'GET',
    params,
    data,
  });
}

/**
 * GET 权限管理-岗位明细分页
 * @pathParam apiVersion true
 * @queryParam belongJobDefId true
 * @queryParam current true
 * @queryParam jobName false
 * @queryParam pageSize true
 */
export function getPostAuthPageUsingGET({ params, data }) {
  return request('sys/position/postAuthPage', {
    method: 'GET',
    params,
    data,
  });
}

/**
 * POST 同步岗位(前端勿动)
 * @pathParam apiVersion true
 * @queryParam cookie false
 * @queryParam isDelete true
 * @queryParam timestamp false
 */
export function createPositionUsingPOST({ params, data }) {
  return request('sys/position/sync', {
    method: 'POST',
    params,
    data,
  });
}

/**
 * POST 新增岗位组
 * @pathParam apiVersion true
 * @queryParam cookie false
 */
export function createPositionGroupUsingPOST({ params, data }) {
  return request('sys/positionGroup', {
    method: 'POST',
    params,
    data,
  });
}

/**
 * GET 总线-IDM-008-IDM-岗位组查询Rest接口(前端勿动)
 * @pathParam apiVersion true
 * @queryParam cookie false
 */
export function getPositionGroupListUsingGET({ params, data }) {
  return request('sys/positionGroup/list', {
    method: 'GET',
    params,
    data,
  });
}

/**
 * GET 查询岗位组存在供销存的数据
 * @pathParam apiVersion true
 */
export function getPositionGroupNameUsingGET({ params, data }) {
  return request('sys/positionGroup/positionGroupName', {
    method: 'GET',
    params,
    data,
  });
}

/**
 * GET 权限管理--岗位组分页
 * @pathParam apiVersion true
 * @queryParam current true
 * @queryParam jobDefinitionsId false
 * @queryParam jobDefinitionsName false
 * @queryParam pageSize true
 */
export function getPotGroupAuthPageUsingGET({ params, data }) {
  return request('sys/positionGroup/potGroupAuthPage', {
    method: 'GET',
    params,
    data,
  });
}

/**
 * POST 新增角色
 * @pathParam apiVersion true
 * @bodyParam param true
 */
export function createRoleUsingPOST({ params, data }) {
  return request('sys/role', {
    method: 'POST',
    params,
    data,
  });
}

/**
 * PUT 编辑角色
 * @pathParam apiVersion true
 * @bodyParam param true
 */
export function updateRoleUsingPUT({ params, data }) {
  return request('sys/role', {
    method: 'PUT',
    params,
    data,
  });
}

/**
 * GET 分页查询特殊角色列表
 * @pathParam apiVersion true
 * @queryParam current true
 * @queryParam pageSize true
 */
export function getRolePageListUsingGET({ params, data }) {
  return request('sys/role/pageList', {
    method: 'GET',
    params,
    data,
  });
}

/**
 * DELETE 删除角色
 * @pathParam apiVersion true
 * @queryParam roleId true
 */
export function deleteRoleByIdUsingDELETE({ params, data }) {
  return request('sys/role/{roleId}', {
    method: 'DELETE',
    params,
    data,
  });
}

/**
 * GET 显示推送供货计划
 * @pathParam apiVersion true
 */
export function getSysDeliveryPlanUsingGET({ params, data }) {
  return request('sys/sysDeliveryPlan', {
    method: 'GET',
    params,
    data,
  });
}

/**
 * POST 拉取组织机构数据到推送供货计划表(前端勿动)
 * @pathParam apiVersion true
 */
export function createSysDeliveryPlanUsingPOST({ params, data }) {
  return request('sys/sysDeliveryPlan', {
    method: 'POST',
    params,
    data,
  });
}

/**
 * PUT 设置推送时间
 * @pathParam apiVersion true
 * @bodyParam param true
 */
export function updateSysDeliveryPlanUsingPUT({ params, data }) {
  return request('sys/sysDeliveryPlan', {
    method: 'PUT',
    params,
    data,
  });
}

/**
 * GET 根据分期id获取最新的待办信息
 * @pathParam apiVersion true
 * @queryParam stagesId true
 */
export function getSysNoticeByStageIdUsingGET({ params, data }) {
  return request('sys/sysNotice/getSysNoticeByStageId', {
    method: 'GET',
    params,
    data,
  });
}

/**
 * POST 手动调价
 * @pathParam apiVersion true
 * @queryParam noticeId true
 */
export function updateManualPriceUsingPOST({ params, data }) {
  return request('sys/sysNotice/manualPrice', {
    method: 'POST',
    params,
    data,
  });
}

/**
 * GET 待办消息版本对比
 * @pathParam apiVersion true
 * @queryParam noticeId true
 */
export function noticeAgencyInfoCompareToUsingGET({ params, data }) {
  return request('sys/sysNotice/noticeAgencyInfoCompareTo', {
    method: 'GET',
    params,
    data,
  });
}

/**
 * POST 手动检查未处理货值手动代办补录门户代办
 * @pathParam apiVersion true
 */
export function noticeCheckSupplementPortalTodoUsingPOST({ params, data }) {
  return request('sys/sysNotice/noticeCheckSupplementPortalTodo', {
    method: 'POST',
    params,
    data,
  });
}

/**
 * GET 系统待办分页列表
 * @queryParam current true
 * @queryParam pageSize true
 */
export function getSysNoticePageUsingGET({ params, data }) {
  return request('sys/sysNotice/page', {
    method: 'GET',
    params,
    data,
  });
}

/**
 * POST 添加菜单(权限)
 * @pathParam apiVersion true
 * @bodyParam param true
 */
export function createSysPermissionUsingPOST({ params, data }) {
  return request('sys/sysPermission', {
    method: 'POST',
    params,
    data,
  });
}

/**
 * PUT 编辑菜单(权限)
 * @pathParam apiVersion true
 * @bodyParam param true
 */
export function updateSysPermissionUsingPUT({ params, data }) {
  return request('sys/sysPermission', {
    method: 'PUT',
    params,
    data,
  });
}

/**
 * GET 获取当前用户的功能权限
 * @pathParam apiVersion true
 */
export function getCurrentUserPermissionsUsingGET({ params, data }) {
  return request('sys/sysPermission/currentUser', {
    method: 'GET',
    params,
    data,
  });
}

/**
 * PUT 禁用启用菜单(权限)
 * @pathParam apiVersion true
 * @bodyParam param true
 */
export function updateEnableSysPermissionUsingPUT({ params, data }) {
  return request('sys/sysPermission/enable', {
    method: 'PUT',
    params,
    data,
  });
}

/**
 * GET 菜单管理-菜单(权限)树
 * @pathParam apiVersion true
 */
export function getSysPermissionTreeUsingGET({ params, data }) {
  return request('sys/sysPermission/tree', {
    method: 'GET',
    params,
    data,
  });
}

/**
 * POST 权限管理-设置岗位组自动授权
 * @pathParam apiVersion true
 * @bodyParam param true
 */
export function createSysPositionGroupAuthorizeUsingPOST({ params, data }) {
  return request('sys/sysPositionGroupAuthorize', {
    method: 'POST',
    params,
    data,
  });
}

/**
 * POST 权限管理-设置岗位组功能权限
 * @pathParam apiVersion true
 * @bodyParam param true
 */
export function createSysPositionGroupPermissionUsingPOST({ params, data }) {
  return request('sys/sysPositionGroupPermission', {
    method: 'POST',
    params,
    data,
  });
}

/**
 * GET 权限管理-显示岗位组功能权限树
 * @pathParam apiVersion true
 * @queryParam positionGroupId true
 */
export function getSysPositionGroupPermissionTreeUsingGET({ params, data }) {
  return request('sys/sysPositionGroupPermission/tree', {
    method: 'GET',
    params,
    data,
  });
}

/**
 * POST 权限管理-添加岗位组织机构数据权限信息
 * @pathParam apiVersion true
 * @bodyParam param true
 */
export function createSysPositionOrgDataPermissionUsingPOST({ params, data }) {
  return request('sys/sysPositionOrgDataPermission', {
    method: 'POST',
    params,
    data,
  });
}

/**
 * GET 权限管理-显示岗位组织机构数据权限树
 * @pathParam apiVersion true
 * @queryParam positionId true
 */
export function getSysPositionOrgDataPermissionTreeUsingGET({ params, data }) {
  return request('sys/sysPositionOrgDataPermission/tree', {
    method: 'GET',
    params,
    data,
  });
}

/**
 * POST 系统配置-添加流程
 * @pathParam apiVersion true
 * @bodyParam param true
 */
export function createSysProcessConfigUsingPOST({ params, data }) {
  return request('sys/sysProcessConfig', {
    method: 'POST',
    params,
    data,
  });
}

/**
 * DELETE 系统配置-删除流程配置
 * @pathParam apiVersion true
 * @bodyParam param true
 */
export function deleteSysProcessConfigByIdUsingDELETE({ params, data }) {
  return request('sys/sysProcessConfig', {
    method: 'DELETE',
    params,
    data,
  });
}

/**
 * GET 导出流程配置
 * @pathParam apiVersion true
 * @queryParam regionId false
 */
export function exportUsingGET({ params, data }) {
  return request('sys/sysProcessConfig/export', {
    method: 'GET',
    params,
    data,
  });
}

/**
 * POST 导入流程配置
 * @pathParam apiVersion true
 * @formDataParam file true
 */
export function importSysProcessConfigUsingPOST({ params, data }) {
  return request('sys/sysProcessConfig/import', {
    method: 'POST',
    params,
    data,
  });
}

/**
 * GET 流程配置左侧组织机构
 * @pathParam apiVersion true
 */
export function getOrgTreeUsingGET({ params, data }) {
  return request('sys/sysProcessConfig/orgTree', {
    method: 'GET',
    params,
    data,
  });
}

/**
 * GET 系统配置-流程配置分页
 * @pathParam apiVersion true
 * @queryParam current true
 * @queryParam pageSize true
 * @queryParam regionId false
 */
export function getSysProcessConfigPageUsingGET({ params, data }) {
  return request('sys/sysProcessConfig/page', {
    method: 'GET',
    params,
    data,
  });
}

/**
 * GET 流程配置编辑时查询区域层级
 * @pathParam apiVersion true
 * @queryParam id true
 */
export function getRankUsingGET({ params, data }) {
  return request('sys/sysProcessConfig/rank', {
    method: 'GET',
    params,
    data,
  });
}

/**
 * PUT 系统配置-编辑流程
 * @pathParam apiVersion true
 * @bodyParam param true
 */
export function updateSysProcessConfigUsingPUT({ params, data }) {
  return request('sys/sysProcessConfig/tree', {
    method: 'PUT',
    params,
    data,
  });
}

/**
 * GET 分页显示项目取数
 * @pathParam apiVersion true
 * @queryParam beginTime false
 * @queryParam cityId false
 * @queryParam countingSystemId false
 * @queryParam current true
 * @queryParam endTime false
 * @queryParam pageSize true
 * @queryParam projectId false
 * @queryParam regionId false
 * @queryParam stagesId false
 */
export function getSysProjectFetchNumberUsingGET({ params, data }) {
  return request('sys/sysProjectFetchNumber', {
    method: 'GET',
    params,
    data,
  });
}

/**
 * PUT 更改取数系统
 * @pathParam apiVersion true
 * @bodyParam param true
 */
export function updateSysProjectFetchNumberUsingPUT({ params, data }) {
  return request('sys/sysProjectFetchNumber', {
    method: 'PUT',
    params,
    data,
  });
}

/**
 * DELETE 删除项目取数
 * @pathParam apiVersion true
 * @queryParam id true
 */
export function deleteSysProjectFetchNumberUsingDELETE({ params, data }) {
  return request('sys/sysProjectFetchNumber', {
    method: 'DELETE',
    params,
    data,
  });
}

/**
 * POST 增量拉取主数据到项目取数表(前端勿动)
 * @pathParam apiVersion true
 * @queryParam projectId true
 */
export function createSysProjectFetchNumberV2UsingPOST({ params, data }) {
  return request('sys/sysProjectFetchNumber/projectFetchNumberV2', {
    method: 'POST',
    params,
    data,
  });
}

/**
 * POST 角色管理-添加角色组织机构数据权限信息
 * @pathParam apiVersion true
 * @bodyParam param true
 */
export function createSysRoleOrgDataPermissionUsingPOST({ params, data }) {
  return request('sys/sysRoleOrgDataPermission', {
    method: 'POST',
    params,
    data,
  });
}

/**
 * GET 角色管理-显示角色组织机构数据权限树
 * @pathParam apiVersion true
 * @queryParam roleId true
 */
export function getSysRoleOrgDataPermissionTreeUsingGET({ params, data }) {
  return request('sys/sysRoleOrgDataPermission/tree', {
    method: 'GET',
    params,
    data,
  });
}

/**
 * POST 角色管理-添加角色功能权限
 * @pathParam apiVersion true
 * @bodyParam param true
 */
export function createSysRolePermissionUsingPOST({ params, data }) {
  return request('sys/sysRolePermission', {
    method: 'POST',
    params,
    data,
  });
}

/**
 * GET 角色管理-显示角色功能权限树
 * @pathParam apiVersion true
 * @queryParam roleId true
 */
export function getSysRolePermissionTreeUsingGET({ params, data }) {
  return request('sys/sysRolePermission/tree', {
    method: 'GET',
    params,
    data,
  });
}

/**
 * GET 查询路由
 * @pathParam apiVersion true
 */
export function getSysRouteUsingGET({ params, data }) {
  return request('sys/sysRoute', {
    method: 'GET',
    params,
    data,
  });
}

/**
 * GET 获取用户的数据权限
 * @pathParam apiVersion true
 * @queryParam userId true
 */
export function getUserDataPermissionsUsingGET({ params, data }) {
  return request('sys/user/dataPermissions', {
    method: 'GET',
    params,
    data,
  });
}

/**
 * GET 获取用户的功能权限
 * @pathParam apiVersion true
 * @queryParam userId true
 */
export function getUserFunctionalPermissionsUsingGET({ params, data }) {
  return request('sys/user/functionalPermissions', {
    method: 'GET',
    params,
    data,
  });
}

/**
 * GET 总线-IDM-005-IDM-用户查询Rest接口(IDM数据 前端勿动)
 * @pathParam apiVersion true
 * @queryParam cookie true
 * @queryParam filter true
 * @queryParam pageSize true
 */
export function getUserPageUsingGET({ params, data }) {
  return request('sys/user/userPage', {
    method: 'GET',
    params,
    data,
  });
}

/**
 * POST 增加用户信息(同步IDM数据 前端勿动)
 * @pathParam apiVersion true
 * @queryParam cookie true
 * @queryParam filter true
 * @queryParam isDelete true
 * @queryParam pageSize true
 */
export function createUserUsingPOST_1({ params, data }) {
  return request('sys/user/userPage', {
    method: 'POST',
    params,
    data,
  });
}

/**
 * GET 组织机构下的用户信息分页
 * @pathParam apiVersion true
 * @queryParam current true
 * @queryParam departmentnumber false
 * @queryParam pageSize true
 * @queryParam usercn false
 */
export function getUserPageListUsingGET({ params, data }) {
  return request('sys/user/userPageList', {
    method: 'GET',
    params,
    data,
  });
}

/**
 * POST 权限管理-选择用户
 * @pathParam apiVersion true
 * @queryParam roleId true
 * @queryParam userIds true
 */
export function createUserRoleUsingPOST({ params, data }) {
  return request('sys/userRole', {
    method: 'POST',
    params,
    data,
  });
}

/**
 * GET 查询用户拥有多少角色
 * @pathParam apiVersion true
 * @queryParam userId true
 */
export function getUserRoleListUsingGET({ params, data }) {
  return request('sys/userRole/list', {
    method: 'GET',
    params,
    data,
  });
}

/**
 * GET 权限管理-分配用户分页
 * @pathParam apiVersion true
 * @queryParam current true
 * @queryParam pageSize true
 * @queryParam roleId true
 */
export function getUserRolePageListUsingGET({ params, data }) {
  return request('sys/userRole/page', {
    method: 'GET',
    params,
    data,
  });
}

/**
 * DELETE 权限管理-移除用户
 * @pathParam apiVersion true
 * @queryParam id true
 */
export function deleteUserRoleUsingDELETE({ params, data }) {
  return request('sys/userRole/{id}', {
    method: 'DELETE',
    params,
    data,
  });
}
